<template>
	<div class="page processResult">
		<StoreChoice ref="StoreChoice" :current=[] :multipleChoice="false" :hasTotal="false" />
		<div class="scroll-view">
			<customHeader middleTitle="" @leftCallBack="handleBack"/>
			<div class="page-body">
        <div class="page-content" v-if="shopInfo.auditStatus == '1' || shopInfo.auditStatus == '4'">
          <img src="../../../static/images/processing.png" alt="" />
          <span class="title">资料审核中</span>
          <span class="content">您的申请已受理，请耐心等待审核。</span>
          <span class="sure-btn" @click="handleBack">确定</span>
        </div>
        <div class="page-content" v-if="shopInfo.auditStatus == '3' || shopInfo.auditStatus == '5'">
          <img src="../../../static/images/process-fail.png" alt=""/>
          <span class="title">资料审核未通过</span>
          <span class="content">{{shopInfo.auditDesc}}</span>
          <span class="sure-btn" @click="fillInformationAgain">重新填写资料</span>
        </div>
			</div>
		</div>
	</div>
</template>

<script>
import Vue from "vue";
import customHeader from "../../components/header/header";
import StoreChoice from "../../components/StoreChoice/StoreChoice";
import jsBridge from "../../tools/jsBridge.js";
import { Switch } from "mint-ui";
Vue.component(Switch.name, Switch);
export default {
  name: "processResult",
  data() {
    return {
      shopInfo: this.$route.query.shopInfo
    }
  },
  methods: {
    handleBack() {
      this.$router.go(-1);
    },
    fillInformationAgain() {
      jsBridge.gotoWallet({walletId: this.shopInfo.walletUserId});
    }
  },
  components: {
    customHeader,StoreChoice,
  },
  created:function(){
    
  },
  mounted() {

  },
};
</script>
<style lang='scss' scoped>
@import "processResult";
</style>
<style lang="scss">

</style>